package com.yc.boottxx.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author liaoyan
 * @since 2024-06-11
 */
@TableName("txx_gd")
public class Gd implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "id", type = IdType.AUTO)
      private Integer id;

    private String custom;

      /**
     * 0 计时, 1记点击
     */
      private Integer type;

      private String image;

    private String url;

      /**
     * 0:排队,1:当前,2:已完成
     */
      private Integer state;

    private String position;

    private LocalDateTime beginTime;

    private LocalDateTime endTime;

    private Integer clicks;
    
    public Integer getId() {
        return id;
    }

      public void setId(Integer id) {
          this.id = id;
      }
    
    public String getCustom() {
        return custom;
    }

      public void setCustom(String custom) {
          this.custom = custom;
      }
    
    public Integer getType() {
        return type;
    }

      public void setType(Integer type) {
          this.type = type;
      }
    
    public String getUrl() {
        return url;
    }

      public void setUrl(String url) {
          this.url = url;
      }
    
    public Integer getState() {
        return state;
    }

      public void setState(Integer state) {
          this.state = state;
      }
    
    public String getPosition() {
        return position;
    }

      public void setPosition(String position) {
          this.position = position;
      }
    
    public LocalDateTime getBeginTime() {
        return beginTime;
    }

      public void setBeginTime(LocalDateTime beginTime) {
          this.beginTime = beginTime;
      }
    
    public LocalDateTime getEndTime() {
        return endTime;
    }

      public void setEndTime(LocalDateTime endTime) {
          this.endTime = endTime;
      }
    
    public Integer getClicks() {
        return clicks;
    }

      public void setClicks(Integer clicks) {
          this.clicks = clicks;
      }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    @Override
    public String toString() {
        return "Gd{" +
              "id = " + id +
                  ", custom = " + custom +
                  ", type = " + type +
                  ", url = " + url +
                  ", state = " + state +
                  ", position = " + position +
                  ", beginTime = " + beginTime +
                  ", endTime = " + endTime +
                  ", clicks = " + clicks +
              "}";
    }
}
